package com.mysteel.product.vo.web;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * ProjectName: mail
 * ClassName: Catelog2Vo
 * Description:
 * date: 2021/01/25/025 9:20
 *
 * @author xiaochao
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Catalog2Vo {
    /**
     * 一级父分类
     */
    private String catalog1Id;
    /**
     * 三级子分类
     */
    private List<Catalog3Vo> catalog3List;
    /**
     * 当前节点ID
     */
    private String id;
    /**
     * 当前节点名称
     */
    private String name;

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class Catalog3Vo{
        private String catalog2Id;
        private String id;
        private String name;
    }
}
